package org.example.springbook.adapter;

public class Log4jAdapter implements Slf4j {
    private Log4j log4j;
    public Log4jAdapter(Log4j log4j) {
        this.log4j = log4j;
    }
    @Override
    public void info(String msg) {
        log4j.log(msg);
    }
}
